package cn.com.surker.workcon.service;

import cn.com.surker.base.system.entity.SysControlStorage;
import cn.com.surker.base.system.entity.SysLine;

/**
 * <p>
 * 工控机的料仓对应 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-09-26
 */
public interface StorXMaterService {

	/**
	 * 新增工控仓位
	 *
	 * @param line
	 * @param controlStorage
	 * @return
	 */
	Long insertStore(SysLine line, SysControlStorage controlStorage);

	/**
	 * 修改工控仓位
	 *
	 * @param line
	 * @param controlStorage
	 * @return
	 */
	Long updateStore(SysLine line, SysControlStorage oldControlStorage, SysControlStorage controlStorage);
}
